package org.csu.mypetstore.persistence;

import org.csu.mypetstore.domain.Category;

import java.util.List;

public interface CategoryDAO {
    //查询所有的大类
    List<Category> getCategoryList();
    //通过ID来查询某个大类
    Category getCategory(String categoryId);
}
